.app-container {
  --bar-height: 48px;
}

.app-container {
  display: flex;
  height: 100vh;

  .app-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

.app-logo {
  // position: absolute;
  // top: 0;
  // left: 0;
  text-align: center;
  height: var(--bar-height, 48px);
  color: #000;
  font-size: 22px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  flex-shrink: 0;
  white-space: nowrap;
  img {
    height: 28px;
    margin-right: 8px;
  }
}

.app-aside {
  width: 200px;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  overflow: visible;
  z-index: 1;
  // padding-top: 48px;

  .el-menu {
    background-color: #fff;
    border-right: 0;
  }
}

.app-header {
  background-color: #fff;
  padding: 0 15px;
  flex-shrink: 0;

  // 导航栏
  .app-nav-bar {
    height: var(--bar-height, 48px);
    display: flex;
    align-items: center;

    .app-fold {
      margin-right: 15px;
    }

    .app-nav {
      flex: 1;
    }

    .app-user {
      .app-user-box {
        display: flex;
        align-items: center;
        cursor: pointer;
      }

      span {
        margin-right: 3px;
      }

      .el-avatar {
        margin-right: 10px;
      }
    }
  }

  // 标签栏
  .app-tab-bar {
    display: flex;
    padding: 10px 0;

    .app-tab-list {
      display: flex;

      .app-tab-item {
        display: block;
        // background-color: #FAFAFA;
        border: 1px solid #e5e7eb;
        padding: 4px 8px;
        margin-right: 8px;
      }

      .app-tab-item-close {
        font-size: 12px;
        margin-left: 5px;
        opacity: 0.8;
      }

      .app-tab-item-active {
        background-color: #409eff;
        color: #fff;
      }
    }
  }
}

.app-main {
  padding: 15px !important;
  position: relative;
}

.app-page {
  .app-page-footer {
    margin-top: 15px;
    display: flex;

    .el-pagination {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      width: 100%;
    }
  }
}

// 卡片布局页面
.app-page-card {
  .app-page-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
  }

  .app-page-main-body {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
  }
}

.app-page-full {
  height: 100%;
  display: flex;
  flex-direction: column;

  .el-card__body {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

.app-page-main-header {
  display: flex;
  // align-items: end;
  // align-items: baseline;

  .app-query {
    .el-form {
      // max-width: 1060px;
      max-width: 1370px;

      @media screen and (min-width: 1920px) {
        max-width: 1500px;
      }
    }

    .el-form-item {
      width: 320px;
    }

    .el-select {
      flex: 1;
    }

    .el-input {
      width: 100%;
    }

    // .el-input__inner {
    //   width: 220px;
    // }

    .el-form-item {

      // &:last-child {
      //   margin-right: 20px;
      // }
      &:nth-last-child(2) {
        margin-right: 20px;
      }
    }
  }

  .app-action {
    min-height: 40px;
    display: flex;
    justify-content: flex-end;
    flex: 1;
  }
}

// @media screen and (max-width: $xs) {
//   .app-page-main-header {
//     flex-direction: column;
//   }
// }

.app-edit {
  height: 100%;
  padding: 20px;
}

.app-edit-full {
  display: flex;
  flex-direction: column;

  .app-edit-main {
    flex: 1;
    overflow: hidden;
  }

  .app-edit-footer {
    margin-top: 20px;
  }
}
